/**
 * 选择框内置配置
 */
export const selectConfig = {
  //角色选择
  roleSelect: {
    api: '/role/page',
    rowKey: 'roleId',
    labelKey: 'roleName',
    modalTitle: '角色选择',
    searchForm: [
      {
        label: '角色名称',
        field: 'roleName',
        component: 'Input',
      },
    ],
    columns: [
      {
        title: '角色名称',
        dataIndex: 'roleName',
        width: 40,
        align: 'left',
      },
      {
        title: '角色编码',
        dataIndex: 'roleCode',
        width: 40,
      },
    ],
  },
};
